Skip to content

ci: workflow consistency tweaks#772

Merged
andykenward merged 1 commit into
mainfrom
ci/workflow-consistency
May 31, 2026
Merged

ci: workflow consistency tweaks#772
andykenward merged 1 commit into
mainfrom
ci/workflow-consistency

Conversation

@andykenward

Copy link
Copy Markdown
Owner

What

Small consistency cleanups across workflow triggers and pin comments (item #4 from the workflow review).

Changes

  • zizmor.yml
    • pull_request now targets branches: [main] instead of ['**'], matching every other workflow. All PRs base on main, so this is no behavior change in practice — just consistency.
    • Normalized the two SHA-pin comments from # vX.Y.Z to the repo's #vX.Y.Z style (these were the only two outliers; the other 23 pins already use no-space).
  • deploy-main.yml — added paths-ignore: ['**.md'] to skip docs-only pushes to main. Safe here: the deploy target is example/ (unaffected by repo markdown), and nothing downstream depends on this job running.

Deliberately not changed

deploy-delete.yml was also flagged for paths-ignore, but adding it would be a bug: deploy.yml creates a preview deployment for every PR (no path filter), so deploy-delete must run on every PR close to clean up — including docs-only PRs. A paths-ignore there would orphan those previews.

Notes

🤖 Generated with Claude Code

- zizmor: target `pull_request` at `main` to match every other
  workflow (all PRs base on main), and normalize the two SHA-pin
  comments to the repo's `#vX.Y.Z` style (no space).
- deploy-main: skip docs-only pushes via `paths-ignore: ['**.md']`;
  the deploy target is `example/`, unaffected by repo markdown, and
  no cleanup depends on this job running.

Deliberately not adding paths-ignore to deploy-delete: deploy.yml
creates a preview for every PR (no path filter), so deploy-delete must
run on every close to clean up md-only PRs' previews.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented May 31, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 13df8f5

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@andykenward andykenward merged commit 2cd9e50 into main May 31, 2026
8 checks passed
@andykenward andykenward deleted the ci/workflow-consistency branch May 31, 2026 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant